<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
	<html:base />

	<title>addArticle.jsp</title>
	<link rel="stylesheet" type="text/css" href="skin/css/base.css">
	<script type="text/javascript" src="fckeditor/fckeditor.js"></script>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
</head>

<body>
	<table width="801" height="436" border="0" cellpadding="0"
		cellspacing="0">
		<tr>
			<td height="436" valign="top" align="center">
				<html:form action="admin/ArticleManagement.do?method=addOneArticle" >
					<table width="800" border="1" cellpadding="1" cellspacing="1"
						bordercolor="#FFFFFF" bgcolor="#D1DDAA">
						<tr>
							<th width="79" height="30">
								<span class="word_white">文章标题：</span>
							</th>
							<td width="263" bgcolor="#FFFFFF">
								<html:text property="articleTitle" title="文章标题" />
							</td>
						</tr>
						<tr>
							<th width="79" height="30">
								<span class="word_white">关键字：</span>
							</th>
							<td width="263" bgcolor="#FFFFFF">
								<html:text property="articleKeyword" title="关键字" />
							</td>
						</tr>
						<tr>
							<th height="30">
								<span class="word_white">正文：</span>
							</th>
							<td bgcolor="#FFFFFF">
								<textarea name="articleBody" style="width:280px; height:60px;"></textarea>
								<script type="text/javascript">
	var oFCKeditor = new FCKeditor('articleBody');
	oFCKeditor.BasePath = "fckeditor//";
	oFCKeditor.Height = 300;
	oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>';
	oFCKeditor.ReplaceTextarea();
</script>
							</td>
						</tr>
					</table>
					<br>
					<html:submit>保存</html:submit>
					<html:reset>重置</html:reset>
				</html:form>
			</td>
		</tr>
	</table>
</body>
</html:html>
